package com.youkeyi.ddy.cloud.common.api.application.system.corp;

import com.youkeyi.ddy.cloud.common.api.application.system.corp.dto.SystemCorpSortListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.system.corp.param.SystemCorpSortListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.system.corp.param.SystemCorpSortUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * SystemCorpSortCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/system/corp/sort/fallback")
public class SystemCorpSortCloudServiceFallback implements SystemCorpSortCloudService {

    @Override
    public SystemCorpSortListCloudDto list(SystemCorpSortListCloudParam param) {
        return new SystemCorpSortListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(SystemCorpSortUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

}
